import postApiNew from "../../utils/http/api-new";

export default {
  //6.2获取企业大学信息
  getEnterpriseInfo() {
    return postApiNew({
      actionCode: "zhiye-user",
      path: "/enterprise/getInfo",
      requestData: {},
    })
  },
 //1.1企业等级详情接口
  getGroupLevelInfo() {
    return postApiNew({
      actionCode: "zhiye-media",
      path: "/level/info/getGroupLevelInfo",
      requestData: {},
    })
  },
  //1.2企业等级购买列表接口
  getGroupLevelPayTypeList() {
    return postApiNew({
      actionCode: "zhiye-media",
      path: "/level/order/getGroupLevelPayTypeList",
      requestData: {},
    })
  },
  //1.3企业等级下单接口
  addOrder(data) {
    return postApiNew({
      actionCode: "zhiye-media",
      path: "/level/order/addOrder",
      requestData: data,
    })
  },
  //下单
  buyPlan(data) {
    return postApiNew({
      actionCode: 'zhiye-mobile',
      path: '/order/addOrder',
      requestData: data
    })
  },
  //1.4企业等级单个套餐详情接口
  getGroupLevelPayTypeInfoById(id) {
    return postApiNew({
      actionCode: "zhiye-media",
      path: "/level/order/getGroupLevelPayTypeInfoById",
      requestData: {
        id
      },
    })
  },
}
